.class public final Lcom/google/android/exoplayer/d;
.super Ljava/lang/Object;
.source "CryptoInfo.java"


# instance fields
.field private final a:Landroid/media/MediaCodec$CryptoInfo;


# direct methods
.method public constructor <init>()V
    .locals 2

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    sget v0, Lcom/google/android/exoplayer/util/o;->a:I

    const/16 v1, 0x10

    if-lt v0, v1, :cond_0

    invoke-direct {p0}, Lcom/google/android/exoplayer/d;->b()Landroid/media/MediaCodec$CryptoInfo;

    move-result-object v0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    iput-object v0, p0, Lcom/google/android/exoplayer/d;->a:Landroid/media/MediaCodec$CryptoInfo;

    return-void
.end method

.method private b()Landroid/media/MediaCodec$CryptoInfo;
    .locals 1
    .annotation build Landroid/annotation/TargetApi;
        value = 0x10
    .end annotation

    .line 1
    new-instance v0, Landroid/media/MediaCodec$CryptoInfo;

    invoke-direct {v0}, Landroid/media/MediaCodec$CryptoInfo;-><init>()V

    return-object v0
.end method


# virtual methods
.method public a()Landroid/media/MediaCodec$CryptoInfo;
    .locals 1
    .annotation build Landroid/annotation/TargetApi;
        value = 0x10
    .end annotation

    .line 8
    iget-object v0, p0, Lcom/google/android/exoplayer/d;->a:Landroid/media/MediaCodec$CryptoInfo;

    return-object v0
.end method

.method public a(Landroid/media/MediaExtractor;)V
    .locals 1
    .annotation build Landroid/annotation/TargetApi;
        value = 0x10
    .end annotation

    .line 1
    iget-object v0, p0, Lcom/google/android/exoplayer/d;->a:Landroid/media/MediaCodec$CryptoInfo;

    invoke-virtual {p1, v0}, Landroid/media/MediaExtractor;->getSampleCryptoInfo(Landroid/media/MediaCodec$CryptoInfo;)Z

    .line 2
    iget-object p1, p0, Lcom/google/android/exoplayer/d;->a:Landroid/media/MediaCodec$CryptoInfo;

    iget v0, p1, Landroid/media/MediaCodec$CryptoInfo;->numSubSamples:I

    .line 3
    iget-object v0, p1, Landroid/media/MediaCodec$CryptoInfo;->numBytesOfClearData:[I

    .line 4
    iget-object v0, p1, Landroid/media/MediaCodec$CryptoInfo;->numBytesOfEncryptedData:[I

    .line 5
    iget-object v0, p1, Landroid/media/MediaCodec$CryptoInfo;->key:[B

    .line 6
    iget-object v0, p1, Landroid/media/MediaCodec$CryptoInfo;->iv:[B

    .line 7
    iget p1, p1, Landroid/media/MediaCodec$CryptoInfo;->mode:I

    return-void
.end method
